home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr40 / x1j4_src.zip / MISCE.H < prev    next >
Text File  |  1995-01-20  |  3KB  |  108 lines

  1. /*****************************************************************************/
  2. /*                                              */
  3. /*                                         */
  4. /*    *****              *****                      */
  5. /*     *****            *****                         */
  6. /*       *****          *****                         */
  7. /*         *****        *****                         */
  8. /*  ***************      ***************                     */
  9. /*  *****************    *****************                     */
  10. /*  ***************      ***************                     */
  11. /*         *****        *****       TheNet                    */
  12. /*       *****          *****       Portable. Compatible.         */
  13. /*     *****            *****       Public Domain             */
  14. /*    *****              *****    G8KBB                  */
  15. /*                                         */
  16. /* This software is public domain ONLY for non commercial use                */
  17. /*                                                                           */
  18. /*                                         */
  19. /*****************************************************************************/
  20.  
  21. /*
  22.  * Released as TheNet X-1J release 4, January 1995
  23.  *
  24.  * add support for l3 heard list
  25.  * add port flush support
  26.  *
  27.  * Released as TheNet X-1J, September 1993
  28.  */
  29.  
  30. #ifdef MODIFIED
  31. extern unsigned  DEFCW;     /* default cwid state */
  32. extern char      DEFCAL[];    /* Call des TNC                     */
  33. extern unsigned char DEFCWS;
  34.  
  35. #ifdef CWID
  36. extern unsigned cwidtm, cwiden, cwspeed;
  37. extern signed char cwstate;
  38. extern unsigned char cwtimr, cwbit, cwofs, cwch;
  39. extern unsigned char cwdat[];
  40. #endif
  41.  
  42. #endif    /* MODIFIED */
  43.  
  44. #ifdef MONITORCMD
  45. extern lhtyp heardl;
  46. extern char txfhdr[];
  47. extern char rxfprt;
  48. extern unsigned seconds;
  49. extern unsigned char mhlcount;
  50. extern unsigned char DEFMHL;
  51. extern unsigned heardtm;
  52. extern unsigned runtime, uptime;
  53. #ifdef L3MONITOR
  54. extern lhtyp l3heardl;
  55. extern unsigned char l3mhlcnt;
  56. #endif
  57. #endif
  58.  
  59. #ifdef STATSCMD
  60. extern unsigned      txstat[NUM1STATS];    /* percent time tx was on per 5mins */
  61. extern unsigned      rxstat[NUM1STATS];    /* ditto for DCD on */
  62. extern unsigned         txon, dcdon;    /* counter in 10 ms intervals */
  63. extern unsigned         usetim;        /* timer for usage updates for stats */
  64. extern unsigned      cpucnt[];
  65. extern unsigned      cpuload;
  66. extern unsigned char cpu2load;
  67. extern unsigned      minbuf[], minfre;
  68. extern unsigned      l2stats[NUML2STATS][NUMPORTS*2];
  69. extern unsigned      l3gwcnt[2];
  70. #endif
  71.  
  72. #ifdef MANAGED
  73. extern unsigned auditmask;
  74. extern char AudCon[];
  75. extern char AudConAcc[];
  76. extern char AudDisc[];
  77. extern char AudDiscAcc[];
  78. #endif
  79.  
  80. #ifdef ACL
  81. extern ACLMB acl;
  82. #endif
  83.  
  84. #ifdef IPROUTE
  85. extern lhtyp iprxfl;
  86. extern lhtyp arprxfl;
  87. #endif
  88.  
  89. #ifdef MOD_MTU
  90. extern unsigned mtu_ip0;
  91. extern unsigned mtu_ip1;
  92. extern unsigned mtu_ipn;
  93. extern unsigned mtu_i_max;
  94. extern unsigned mtu_l2_max;
  95. extern unsigned DEF_MTU_IP0;
  96. extern unsigned DEF_MTU_IP1;
  97. extern unsigned DEF_MTU_IPN;
  98. extern unsigned DEF_MTU_I_MAX;
  99. extern unsigned DEF_MTU_L2_MAX;
  100. #endif
  101.  
  102. #ifdef PORTFLUSH
  103. extern unsigned char pending[];
  104. extern unsigned char sentdata[];
  105. extern unsigned char none_last_time[];
  106. extern unsigned flushed[];
  107. #endif
  108.